package com.ibm.mall.service;

import java.util.List;

import com.ibm.mall.model.Commodity;
import com.ibm.mall.model.PageBean;
import com.ibm.mall.util.QueryHelper;

public interface CommodityService {

	void saveCommodity(Commodity model);

	List<Commodity> getAllCommodity();

	void updateCommodity(Commodity model);

	Commodity getCommodityById(Integer id);

	PageBean getPageBean(int pageNum, int pageSize, QueryHelper queryHelper);

}
